package com.snailxr.base.task.dao;

import java.util.List;

import com.snailxr.base.task.domain.DataDictionary;

/**
 * 数据字典dao接口
 * @author luoshijian
 *
 */
public interface DataDictionaryDao {
	
	//跟据dicId查询
	DataDictionary selectByDicId(int dicId);
	
	//跟据字典类型查询
	List<DataDictionary> selectByType(String dicType);
	
	//根据字典名称查询
	DataDictionary selectByName(String dicName);
	
	//查询全部
	List<DataDictionary> selectAll();
	
	//插入
	void insert(DataDictionary dicObj);
	
	//更新
	Boolean update(DataDictionary dicObj);
	
	//删除
	void delete(int dicId);
	
}
